 
 import { axios } from '@/utils/request'

export function allGetSignList(parameter) {
  return axios({
    url: '/sys/pact/sign/list',
    method: 'post',
    data: parameter
  })
}
export function allSignFileAnalysis(parameter) {
  return axios({
    url: '/sys/pact/sign/analysis',
    method: 'post',
    data: parameter
  })
}
export function allSignFilePreview(parameter) {
  return axios({
    url: '/sys/pact/sign/preview/list',
    method: 'post',
    data:parameter
  })
}
export function allSignUserEdit(parameter) {
  return axios({
    url: '/sys/pact/sign/update',
    method: 'post',
    data:parameter
  })
}
export function allSignUserDel(parameter) {
  return axios({
    url: '/sys/pact/sign/del',
    method: 'post',
    data:parameter
  })
}
export function allSignDel(parameter) {
  return axios({
    url: '/sys/pact/sign/deletePact',
    method: 'post',
    data:parameter
  })
}
export function allSignSave(parameter) {
  return axios({
    url: '/sys/pact/sign/save',
    method: 'post',
    data: parameter
  })
}
export function allGetSginRelation(parkId) {
  return axios({
    url: `/sys/pact/sign/param?parkId=${parkId}`,
    method: 'get'
  })
}
export function getSignUserCount(signCode) {
  return axios({
    url: '/sys/pact/sign/preview/count?code='+signCode,
    method: 'get'
  })
}
export function allGetSginDetail(parameter) {
  return axios({
    url: '/sys/pact/sign/queryDetailById',
    method: 'post',
    data:parameter
  })
}
export function allSginDownContract(parameter) {
  return axios({
    url: '/sys/pact/sign/downloadFile',
    method: 'post',
    data:parameter
  })
}
export function allSginImprotExecl(parameter) {
  return axios({
    url: '/sys/pact/sign/downloadRoster',
    method: 'post',
    data: parameter,
    responseType: 'arraybuffer'
  })
}
export function allGetSginExeclTemp() {
  return axios({
    url: '/sys/pact/sign/temp',
    method: 'get'
  })
}
export function allIdentBatchImprotImg(parameter) {
  return axios({
    url: '/sys/pact/sign/identity/batch',
    method: 'post',
    data:parameter
  })
}
export function allContractBatchImprotFile(parameter) {
  return axios({
    url: '/sys/pact/sign/contract/batch',
    method: 'post',
    data:parameter
  })
}
 export function allsettleEnrollSign(parameter) {
  return axios({
    url: '/sys/pact/sign/settleSign',
    method: 'post',
    data:parameter
  })
}
 export function allsettleBatchSign(parameter) {
  return axios({
    url: '/sys/pact/sign/settleBatchSign',
    method: 'post',
    data:parameter
  })
 }
 export function fileDownState(parameter) {
  return axios({
    url: '/sys/files/selectFilesDownloadTaskByCondition',
    method: 'post',
    data:parameter
  })
 }
export function batchDelSignUser(parameter) {
  return axios({
    url: '/sys/pact/sign/batchRemoveSigned',
    method: 'post',
    data:parameter
  })
}
export function signErrorUserApply(parameter) {
return axios({
  url: '/sys/pact/sign/twofactor/audit',
  method: 'post',
  data:parameter
})
}
export function getWaitCount() {
 return axios({
   url: '/sys/pact/sign/wait_count',
   method: 'get'
 })
}
 